home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / UTILITIE / CONVERSI / 1396.ZIP / STRIP.ARC / STRIP.DOC < prev    next >
Text File  |  1988-06-04  |  4KB  |  108 lines

  1.                   DOCUMENTATION FOR STRIP.COM Version 3.01
  2.  
  3.                                 June 4, 1988
  4.                                 ------------
  5.  
  6.    STRIP deletes leading characters from lines within text files.
  7.            default = blanks. Which leading characters to delete are defined
  8.       by the user in the file STRIP.CNF.
  9.  
  10.      You are prompted for the SOURCE file name, which is file to strip, and 
  11.        for the filename to save it's changes to (defaults to input filename
  12.       with the extension '.FIX'). 
  13.  
  14.  
  15.           STRIP supports the command line. First item on command line is the
  16.     file to convert, and second item is the name of the file to save changes
  17.       to. Again this will default to the source file name with the extension
  18.         .FIX.
  19.  
  20.     STRIP will NOT overwrite the source file.
  21.  
  22.         Command line exceptions are as follows:
  23.  
  24.        STRIP ?  displays brief help screen
  25.        STRIP *  Creates new configuration file
  26.  
  27.      Version 3.0 was changed to be more configurable to your needs. You can
  28.        now supply up to three characters to search for during the "strip"
  29.      operation. These options are set in the file "STRIP.CNF".
  30.  
  31.     Setup for the file STRIP.CNF (and it's picky!):
  32.  
  33.              line 1 - number of different characters to strip. (1-3)
  34.              line 2 - Fist character to look for. (Enclose in quotes)
  35.              line 3 - Second character to look for. (Enclose in quotes)
  36.              line 4 - Third character to look for. (Enclose in quotes)
  37.  
  38.   The default setup is to ONLY strip leading blanks from text files. The
  39.     supplied STRIP.CNF should look like this:
  40.  
  41. 1
  42. " "
  43.  
  44.    You can use any pure ASCII text editor to change the .CNF file, or create
  45.     a new one at any time by entering an * on the command line. If you wanted
  46.     to strip all leading blanks and line feeds from your text files, your 
  47.     STRIP.CNF file would look like this:   (substitute the ASCII character 
  48.     12 for <Ctrl/L>):
  49.  
  50. 2
  51. " "
  52. "<Ctrl/L>" 
  53.  
  54.    Using these brief instructions, you can start by running STRIP on this
  55.   very .DOC file. (You knew there had to be a reason for all this unformatted
  56.       documentation).
  57.  
  58. Have STRIP.DOC, STRIP.CNF, and STRIP.COM in the same directory and issue 
  59. the command:
  60.  
  61. STRIP STRIP.DOC
  62.  
  63.    and you will have yourself a better looking .DOC file with all leading
  64.      blanks removed, and all text flush left. Your "fixed" file name will be
  65.    STRIP.FIX.
  66.  
  67. -------------------------------------------------------------------------------
  68.  
  69.    STRIP is written is QuickBASIC version 2.01. Compiled and linked to stand-
  70. alone .EXE, then crunched to STRIP.COM using the public domain utility EXE2COM.
  71.   
  72.    If you like this program, I would be more than happy to receive up to $5.00
  73.    from you. $5.00 will get you a copy of the latest version on disk. I'd also
  74.    like to hear about any major bugs you might have encountered while using it
  75.    whether you decide to contribute or not.
  76.  
  77.           Chip Morrow
  78.           40 Valley View Dr.
  79.           Newark, OH 43055
  80.  
  81.           (614) 366-4392 RBBS 300-2400 baud.
  82.  
  83.     STRIP is distributed as "Shareware", along with it's QB source code.
  84.     You can modify, compile, copy, distribute, and use it however you wish.
  85.     If you use part or all of the code in your own programs you'd be giving
  86.     me an ego boost by acknowledging it.
  87.  
  88.     I cannot be responsible for any damages resulting from the use of
  89.     (or inability to use) this program.
  90.  
  91.  
  92.  
  93.     VERSION UPDATES:
  94.     ===============
  95.  
  96.       -   Versions below 2.0 were never sent out into the public domain
  97.             (BUGS!).
  98.  
  99.      -   Version 2.0 had a line of code in it that would strip entire lines of
  100.       the "-" character (CHR$45) if they existed. This has been fixed in
  101.         ver. 2.10.
  102.  
  103.      -   Version 3.0 re-written 6-4-88 to support stripping of different
  104.        characters. Code cleaned up a bit and documented.
  105.  
  106.       - Version 3.01 cleaned up furthur, and added ability to create .CNF file
  107.         from the program. 
  108.